﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;

namespace Quester.Models
{
    public class AdminDetailVModel
    {
        [Required]
        [HiddenInput(DisplayValue = false)]
        public Guid ID { get; set; }

        [Required]
        [Display(Name="Логін")]
        public string UserName { get; set; }

        [Required]
        [Display(Name="Ел. пошта")]
        [DataType(DataType.EmailAddress)]
        public string EMail { get; set; }

        [Required]
        [Display(Name="Дата створення")]
        [DataType(DataType.Date)]
        public DateTime CreationDate { get; set; }


    }
}